package com.ruoyi.sys.vehile.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 月卡缴费对象 tb_month_payment
 *
 * @author ruoyi
 * @date 2022-05-24
 */
public class TbMonthPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long mpId;

    /** 停车场编号 */
    @Excel(name = "停车场编号")
    private Long pId;

    /** 车牌号（可通过停车场编获取） */
    @Excel(name = "车牌号", readConverterExp = "可=通过停车场编获取")
    private String mpNum;

    /** 车位类型（0：内部车位 1：普通车位） */
    @Excel(name = "车位类型", readConverterExp = "0=：内部车位,1=：普通车位")
    private Long mpType;

    /** 申请时长 */
    @Excel(name = "申请时长")
    private String mpThelength;

    /** 月卡费用 */
    @Excel(name = "月卡费用")
    private BigDecimal mpCost;

    /** 实际费用 */
    @Excel(name = "实际费用")
    private BigDecimal mpActualcost;

    /** 订单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mpDate;

    /** 缴费项(0:开通月卡 1:月卡缴费) */
    @Excel(name = "缴费项(0:开通月卡 1:月卡缴费)")
    private Long mpPaymentterm;

    public void setMpId(Long mpId)
    {
        this.mpId = mpId;
    }

    public Long getMpId()
    {
        return mpId;
    }
    public void setpId(Long pId)
    {
        this.pId = pId;
    }

    public Long getpId()
    {
        return pId;
    }
    public void setMpNum(String mpNum)
    {
        this.mpNum = mpNum;
    }

    public String getMpNum()
    {
        return mpNum;
    }
    public void setMpType(Long mpType)
    {
        this.mpType = mpType;
    }

    public Long getMpType()
    {
        return mpType;
    }
    public void setMpThelength(String mpThelength)
    {
        this.mpThelength = mpThelength;
    }

    public String getMpThelength()
    {
        return mpThelength;
    }
    public void setMpCost(BigDecimal mpCost)
    {
        this.mpCost = mpCost;
    }

    public BigDecimal getMpCost()
    {
        return mpCost;
    }
    public void setMpActualcost(BigDecimal mpActualcost)
    {
        this.mpActualcost = mpActualcost;
    }

    public BigDecimal getMpActualcost()
    {
        return mpActualcost;
    }
    public void setMpDate(Date mpDate)
    {
        this.mpDate = mpDate;
    }

    public Date getMpDate()
    {
        return mpDate;
    }
    public void setMpPaymentterm(Long mpPaymentterm)
    {
        this.mpPaymentterm = mpPaymentterm;
    }

    public Long getMpPaymentterm()
    {
        return mpPaymentterm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mpId", getMpId())
            .append("pId", getpId())
            .append("mpNum", getMpNum())
            .append("mpType", getMpType())
            .append("mpThelength", getMpThelength())
            .append("mpCost", getMpCost())
            .append("mpActualcost", getMpActualcost())
            .append("mpDate", getMpDate())
            .append("mpPaymentterm", getMpPaymentterm())
            .toString();
    }
}
